package com.ktjiaoyu.ch01_hello.repository;

import com.ktjiaoyu.ch01_hello.pojo.Role;
import com.ktjiaoyu.ch01_hello.pojo.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @Entity generator.domain.User
*/
@Repository   //dao
public interface RoleRepository extends JpaRepository<Role,Long> , JpaSpecificationExecutor<Role> {

}
